package g4p.styledtext;

import g4p_controls.StyledString;
import processing.core.PApplet;

public class StyledString_saveAndLoad_Test extends PApplet  {

	/**
	 * @param args
	 */
	public void setup() {
		StyledString s0, s1;
		
		s0 = new StyledString("Peter Lager", 200);
		StyledString.save(this, s0, "g4p/test.ss");
		
		s1 = StyledString.load(this, "g4p/test.ss");
		
		System.out.println(s1.getPlainText());
		

	}

}
